package com.vhall.component.entity.vote.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;
import java.util.List;

/**
 * @author longzhen.gong
 * @date 2021/7/7 11:40
 */
@Data
public class VotesListReqVO implements Serializable {


    private static final long serialVersionUID = -6099212174152275439L;

    private String keyword;

    @PositiveOrZero(message = "page参数错误")
    @NotNull(message = "page参数错误")
    private Integer page;

    @ParamName("pagesize")
    private Integer pagesize;

    private String en;

    private String from;

    @ParamName("il_id")
    private Integer ilId;

    @ParamName("room_id")
    private String roomId;


    @ParamName("account_id")
    private String accountId;


    private Integer publish;

    @ParamName("is_publish")
    private Integer isPublish;

    @ParamName("is_public")
    private Integer isPublic;

    @ParamName("is_release")
    private Integer isRelease;

    @ParamName("is_finish")
    private Integer isFinish;

    @ParamName("from_room_id")
    private String fromRoomId;

    @ParamName("begin_time")
    private String beginTime;

    @ParamName("end_time")
    private String endTime;

    private Integer type;

    @ParamName("answer_account_id")
    private Integer answerAccountId;

    private List<Integer> accountIds;

}
